<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\SignupForm */

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\captcha\Captcha;
use common\models\articles\Articles;
$this->title = '用户注册';
$this->params['breadcrumbs'][] = $this->title;
$ar = Articles::find()->where(['category_id'=>36])->one();
?>

<div id="Content">
    <h3 class="C_h3">账号注册：</h3>
    <div class="Liu">
        <img src="<?= yii::getAlias('@web');?>/images/Liu1.png"><br>
        <div>
            <span>设置账号信息</span><span class="b" style="color:#c40400;">验证账号信息</span><span>注册成功</span>
        </div>
    </div>

    <div id="ztai">
        <?php if($success == 1){ ?>
        <div>
            <p class="a"><img src="<?= yii::getAlias('@web');?>/images/zhu_pic.jpg">验证邮件发送成功。</p>
            <p>帐号激活邮件已经发送至您的 <a ><?=$email;?></a> 邮箱，请您在12小时内点击邮件中的链
                接，继续完成注册。</p>
        </div>
        <?php }else{ ?>
            <div>
                <p class="a"><img src="<?= yii::getAlias('@web');?>/images/zhu_pic.jpg">验证邮件发送失败。</p>
                <p><a href="auth/sendemail/?email=<?=$email;?>">请重新发送邮件</a> 或者更换其他邮箱<a href="auth/signup/">重新注册</a></p>
            </div>
        <?php } ?>
        <div style="border:none;">
            <p style="font-size:18px; color:#333333; margin-bottom:10px;">一直没有收到邮件？</p>
            <ul>
                <li><font>•</font>请先检查是否在垃圾邮件中?</li>
                <li><font>•</font>如果还未收到，<a href="auth/sendemail/?email=<?=$email;?>">请重新发送邮件</a></li>
                <li><font>•</font>重新发送邮件，还未收到，请试试更换其他邮箱，或者<a href="auth/signup/">重新注册</a></li>
            </ul>
        </div>
    </div>
</div>